export interface FormDataType {
    ColItemType: String
    Config?: Object
    InputConfig?: Object,
    InputValueConfig?: Object
}

export interface FormTypes {
    formData: Array<FormDataType>
    isFormBtn?: boolean
    formConfig?: Object
    cRef?: any

    submitFn?(data: any): void
}

export interface UseRefType {
    current: any
}

export interface ButtonType {
    title: string
    icon: any
    key: string
    cRef?: any

    onClick?(): void
}

export interface ColumnType {
    dataIndex: string
    key: string
    title: string
    width?: number
    type?: any

    render?(value: any): void
}

export interface DataSourceType {
    tableApi?: Object
    columns: Array<ColumnType>
    dataSource?: Array<Object>
    dataSourceConfig?: Object
    componentConfig?: Object
    cRef?: any
}

export interface TableApiType {
    url: string
    isApi: boolean
    params?: any
    type?: string
}
